/*
 * gc.h
 *
 *  Created on: 2009-12-3
 *      Author: Bearice
 */

#ifndef GC_H_
#define GC_H_

struct avm_gcblock{
	struct avm_gcblock* next;
	uint32 size;
	uint32 alloc;
	struct avm_object** next_free;
	struct avm_object** pool;
};
struct avm_object* gc_alloc() ;
uint32 gc_free(struct avm_object* obj) ;
uint32 gc_inclref(struct avm_object* obj) ;
uint32 gc_declref(struct avm_object* obj) ;
#endif /* GC_H_ */
